package com.schd.base.exception;


import com.schd.base.enumerate.ModuleType;

/**
 * @author 陈刚
 * @version 1.0
 * @project guaranty
 * @package com.haorui.commons.core.exception
 * @createDate 2015/4/7 0007 11:45
 * @modfiyDate
 * @function 持久层数据异常
 */
public class DataException extends BaseException {

    public DataException(String message) {
        super(message);
    }

    public DataException(String message, Exception e) {
        super(message, e);
    }

    @Override
    protected void setModuleType() {
        this.module= ModuleType.DATA_MODULE;
    }

}
